Skip to content

Fix simple literal inference in class bodies in import cycle#13552

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-import-cycle
Aug 29, 2022
Merged

Fix simple literal inference in class bodies in import cycle#13552
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-import-cycle

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

This fixes a little regression caused by #13494

@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

aiohttp (https://github.com/aio-libs/aiohttp)
- aiohttp/worker.py:34: error: Cannot determine type of "LOG_FORMAT"  [has-type]
- aiohttp/worker.py:224: error: Returning Any from function declared to return "str"  [no-any-return]

@ilevkivskyi ilevkivskyi merged commit ff1199b into python:master Aug 29, 2022
@ilevkivskyi ilevkivskyi deleted the fix-import-cycle branch August 29, 2022 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant